home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / submodels.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  27.8 KB  |  1,553 lines

  1. // sub bunkbed
  2. static_sub_bunk
  3. {
  4.     qer_editorimage textures/models/submodels/sub_bunk.tga
  5.     {
  6.         map textures/models/submodels/sub_bunk.tga
  7.         rgbGen static
  8.     }
  9. }
  10.  
  11. // subradio1
  12. static_subradio1
  13. {
  14.     qer_editorimage textures/models/submodels/subradio1.tga
  15.     {
  16.         map textures/models/submodels/subradio1.tga
  17.         rgbGen static
  18.     }
  19. }
  20.  
  21. // black equipment panel t-handle
  22. static_subknob1
  23. {
  24.     qer_editorimage textures/models/submodels/subknob1.tga
  25.     {
  26.         map textures/models/submodels/subknob1.tga
  27.         rgbGen static
  28.     }
  29. }
  30.  
  31. // tan power junction box
  32. static_tanpower1
  33. {
  34.     qer_editorimage textures/models/submodels/tanpower1.tga
  35.     {
  36.         map textures/models/submodels/tanpower1.tga
  37.         rgbGen static
  38.     }
  39. }
  40.  
  41. // tan power junction box 2
  42. static_tanpower2
  43. {
  44.     qer_editorimage textures/models/submodels/tanpower2.tga
  45.     {
  46.         map textures/models/submodels/tanpower2.tga
  47.         rgbGen static
  48.     }
  49. }
  50.  
  51. // tan power junction box 3
  52. static_tanpower3
  53. {
  54.     qer_editorimage textures/models/submodels/tanpower3.tga
  55.     {
  56.         map textures/models/submodels/tanpower3.tga
  57.         rgbGen static
  58.     }
  59. }
  60.  
  61. // engine cover tank thingie
  62. static_enginecover
  63. {
  64.     qer_editorimage textures/models/submodels/engine_cover.tga
  65.     {
  66.         map textures/models/submodels/engine_cover.tga
  67.         rgbGen static
  68.     }
  69. }
  70.  
  71. // grey speakerbox
  72. static_speakerbox1
  73. {
  74.     qer_editorimage textures/models/submodels/speakerbox1.tga
  75.     {
  76.         map textures/models/submodels/speakerbox1.tga
  77.         rgbGen static
  78.     }
  79. }
  80.  
  81. // atlas-echolot
  82. static_atlas-echolot
  83. {
  84.     qer_editorimage textures/models/submodels/atlas-echolot.tga
  85.     {
  86.         map textures/das_boot/sub_envmap.tga
  87.         tcgen environmentmodel
  88.         rgbGen static
  89.     }
  90.     {
  91.         map textures/models/submodels/atlas-echolot.tga
  92.         blendFunc blend
  93.         rgbGen static
  94.     }
  95. }
  96.  
  97. //helmsmans stool for bridge
  98.  
  99. static_substool
  100. {
  101.     qer_editorimage textures/models/submodels/substool.tga
  102.     {
  103.         map textures/models/submodels/substool.tga
  104.         rgbGen static
  105.     }
  106. }
  107.  
  108. //subvalve red spokes-black rim
  109. static_subvalve-red-black
  110. {
  111.     qer_editorimage textures/models/submodels/valve_red.tga
  112.     {
  113.         map textures/models/submodels/valve_red.tga
  114.         alphaFunc GE128
  115.         depthwrite
  116.         rgbGen static
  117.     }
  118. }
  119.  
  120. redvalve_pulse
  121. {
  122.     qer_editorimage textures/models/submodels/valve_red.tga
  123.     {
  124.         map textures/models/submodels/valve_red.tga
  125.         alphaFunc GE128
  126.         depthwrite
  127.         rgbGen lightingSpherical
  128.     }
  129.     { // pulsating layer
  130.         map textures/models/items/pulse.tga
  131.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  132.         rgbGen wave sin 0.25 0.25 0 0.75
  133.         //rgbGen wave sin 0.15 0.075 0 0.75
  134.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  135.     }
  136. }
  137.  
  138. // tiefenmesser gauge
  139. static_tiefenmesser
  140. {
  141.     nomipmaps
  142.     qer_editorimage textures/models/submodels/tiefenmesser.tga
  143.     {
  144.         map textures/models/submodels/tiefenmesser.tga
  145.         rgbGen static
  146.     }
  147. }
  148.  
  149. // black gauge side
  150. static_blackgauge
  151. {
  152.     qer_editorimage textures/models/submodels/blackgauge.tga
  153.     {
  154.         map textures/models/submodels/blackgauge.tga
  155.         rgbGen static
  156.     }
  157. }
  158.  
  159. ///////////////////////////
  160. //environment mapped glass for gauges
  161. ///////////////////////////
  162.  
  163.  
  164. static_glass
  165. {
  166. //cull none
  167.     {
  168.         map textures/models/submodels/sub_env.tga
  169.         tcgen environment
  170.         alphagen const .20
  171.         depthwrite
  172.         blendFunc blend
  173.     }
  174. }
  175. ///////////////////////////
  176. //environment mapped glass for gauges with overlay
  177. ///////////////////////////
  178.  
  179. static_dieselglass
  180. {
  181. //cull none
  182.     {
  183.         map textures/models/submodels/sub_env.tga
  184.         tcgen environmentmodel
  185.         alphagen const .20
  186.         blendFunc blend
  187.          //rgbGen static
  188.     }
  189.     {
  190.         map textures/models/submodels/dieselglass.tga
  191.         blendFunc blend
  192.           rgbGen static
  193.     }
  194.  
  195. }
  196.  
  197.  
  198. ///////////////////////////
  199. //environment mapped glass for depth barometer
  200. ///////////////////////////
  201.  
  202.  
  203. static_baroglass
  204. {
  205. //cull none
  206.     {
  207.         map textures/models/submodels/sub_env.tga
  208.         tcgen environment
  209.         alphagen const .35
  210.         depthwrite
  211.         blendFunc blend
  212.     }
  213. }
  214.  
  215. // bridge depth barometer
  216. static_barometer
  217. {
  218.     //cull none
  219.     qer_editorimage textures/models/submodels/barometer.tga
  220.     {
  221.         map textures/models/submodels/barometer.tga
  222.         rgbGen static
  223.     }
  224. }
  225. //////////////////////////////////////
  226. //periscope textures
  227. //////////////////////////////////////
  228.  
  229. // main periscope body
  230.  
  231. static_scopebody
  232. {
  233.     qer_editorimage textures/models/submodels/scopebody.tga
  234.     {
  235.         map textures/models/submodels/scopebody.tga
  236.         rgbGen static
  237.     }
  238. }
  239.  
  240. // periscope faceplate
  241. static_scopeface
  242. {
  243.     qer_editorimage textures/models/submodels/scopeface.tga
  244.     {
  245.         map textures/models/submodels/scopeface.tga
  246.         rgbGen static
  247.     }
  248. }
  249.  
  250. // brushed aluminum bottom
  251.  
  252. static_subalum
  253. {
  254.     qer_editorimage textures/models/submodels/subalum.tga
  255.     {
  256.         map textures/models/submodels/subalum.tga
  257.         rgbGen static
  258.     }
  259. }
  260.  
  261. // misc greeble
  262.  
  263. static_subgreeble
  264. {
  265.     qer_editorimage textures/models/submodels/miscpiece.tga
  266.     {
  267.         map textures/models/submodels/miscpiece.tga
  268.         blendFunc blend
  269.         rgbGen static
  270.     }
  271. }
  272.  
  273. //diesel rpm gauge
  274.  
  275. static_dieselrpm
  276.  
  277. {
  278.     qer_editorimage textures/models/submodels/dieselrpm.tga
  279.     {
  280.         map textures/models/submodels/dieselrpm.tga
  281.         rgbGen static
  282.     }
  283. }
  284.  
  285. //subvalve black1
  286. static_valve_black1
  287. {
  288.     qer_editorimage textures/models/submodels/valve_black1.tga
  289.     {
  290.         map textures/models/submodels/valve_black1.tga
  291.         alphaFunc GE128
  292.         depthwrite
  293.         rgbGen static
  294.     }
  295. }
  296.  
  297. //subvalve black2
  298. static_valve_black2
  299. {
  300.     qer_editorimage textures/models/submodels/valve_black2.tga
  301.     {
  302.         map textures/models/submodels/valve_black2.tga
  303.         alphaFunc GE128
  304.         depthwrite
  305.         rgbGen static
  306.     }
  307. }
  308.  
  309.  
  310. //subvalve black3
  311. static_valve_black3
  312. {
  313.     qer_editorimage textures/models/submodels/valve_black3.tga
  314.     {
  315.         map textures/models/submodels/valve_black3.tga
  316.         alphaFunc GE128
  317.         depthwrite
  318.         rgbGen static
  319.     }
  320. }
  321.  
  322. //subvalve grey1
  323. static_valve_grey1
  324. {
  325.     qer_editorimage textures/models/submodels/valve_grey1.tga
  326.     {
  327.         map textures/models/submodels/valve_grey1.tga
  328.         alphaFunc GE128
  329.         depthwrite
  330.         rgbGen static
  331.     }
  332. }
  333.  
  334. //subvalve grey2
  335. static_valve_grey2
  336. {
  337.     qer_editorimage textures/models/submodels/valve_grey2.tga
  338.     {
  339.         map textures/models/submodels/valve_grey2.tga
  340.         alphaFunc GE128
  341.         depthwrite
  342.         rgbGen static
  343.     }
  344. }
  345.  
  346. /////////////////////////////////
  347. //static torpedo shaders
  348. /////////////////////////////////
  349.  
  350. //torpedo body
  351. static_torpedobody
  352. {
  353.     qer_editorimage textures/models/submodels/torpedobody.tga
  354.     {
  355.         map textures/models/submodels/torpedobody.tga
  356.         rgbGen static
  357.     }
  358. }
  359.  
  360. //torpedo tail
  361. static_torpedotail
  362. {
  363.     qer_editorimage textures/models/submodels/torpedotail.tga
  364.     {
  365.         map textures/models/submodels/torpedotail.tga
  366.         rgbGen static
  367.     }
  368. }
  369.  
  370. //torpedo nose
  371. static_torpedonose
  372. {
  373.     qer_editorimage textures/models/submodels/torpedonose.tga
  374.     {
  375.         map textures/models/submodels/torpedonose.tga
  376.         rgbGen static
  377.     }
  378. }
  379.  
  380. //torpedo tip
  381. static_torpedo_tip
  382. {
  383.     qer_editorimage textures/models/submodels/torpedo_tip.tga
  384.     {
  385.         map textures/models/submodels/torpedo_tip.tga
  386.         rgbGen static
  387.     }
  388. }
  389.  
  390. //torpedo prop
  391. static_torpedoprop
  392. {
  393.     cull none
  394.     qer_editorimage textures/models/submodels/torpedoprop.tga
  395.     {
  396.         map textures/models/submodels/torpedoprop.tga
  397.         alphaFunc GE128
  398.         depthwrite
  399.         rgbGen static
  400.     }
  401. }
  402.  
  403. /////////////////////////////////
  404. //non-static torpedo shaders
  405. /////////////////////////////////
  406.  
  407. //torpedo body
  408. torpedobody
  409. {
  410.     qer_editorimage textures/models/submodels/torpedobody.tga
  411.     {
  412.         map textures/models/submodels/torpedobody.tga
  413.         rgbGen lightingSpherical
  414.     }
  415. }
  416.  
  417. //torpedo tail
  418. torpedotail
  419. {
  420.     qer_editorimage textures/models/submodels/torpedotail.tga
  421.     {
  422.         map textures/models/submodels/torpedotail.tga
  423.         rgbGen lightingSpherical
  424.     }
  425. }
  426.  
  427. //torpedo nose
  428. torpedonose
  429. {
  430.     qer_editorimage textures/models/submodels/torpedonose.tga
  431.     {
  432.         map textures/models/submodels/torpedonose.tga
  433.         rgbGen lightingSpherical
  434.     }
  435. }
  436.  
  437. //torpedo tip
  438. torpedo_tip
  439. {
  440.     qer_editorimage textures/models/submodels/torpedo_tip.tga
  441.     {
  442.         map textures/models/submodels/torpedo_tip.tga
  443.         rgbGen lightingSpherical
  444.     }
  445. }
  446.  
  447. //torpedo prop
  448. torpedoprop
  449. {
  450.     cull none
  451.     qer_editorimage textures/models/submodels/torpedoprop.tga
  452.     {
  453.         map textures/models/submodels/torpedoprop.tga
  454.         alphaFunc GE128
  455.         depthwrite
  456.         rgbGen lightingSpherical
  457.     }
  458. }
  459.  
  460. /////////////////////////////////
  461. // planesman control wheel
  462. /////////////////////////////////
  463.  
  464. static_helmcontrol
  465. {
  466.     qer_editorimage textures/models/submodels/helmwheel.tga
  467.     {
  468.         map textures/models/submodels/helmwheel.tga
  469.         rgbGen static
  470.     }
  471. }
  472.  
  473. //////////////////////////////////////
  474. // enigma machine textures
  475. //////////////////////////////////////
  476.  
  477. static_enigma
  478. {
  479.     qer_editorimage textures/models/submodels/enigma.tga
  480.     {
  481.         map textures/models/submodels/enigma.tga
  482.         rgbGen static
  483.     }
  484. }
  485.  
  486. static_enigmatext
  487. {
  488.     cull none
  489.     qer_editorimage textures/models/submodels/enigmatext.tga
  490.     {
  491.         map textures/models/submodels/enigmatext.tga
  492.         alphaFunc GE128
  493.         depthwrite
  494.         rgbGen static
  495.     }
  496. }
  497. /////////////////////////////////////
  498. // for cluster of valves on bridge
  499. /////////////////////////////////////
  500.  
  501. static_valvepipes
  502. {
  503.     qer_editorimage textures/models/submodels/valvepipes.tga
  504.     {
  505.         map textures/models/submodels/valvepipes.tga
  506.         rgbGen static
  507.     }
  508. }
  509.  
  510. static_valvetree
  511. {
  512.     qer_editorimage textures/models/submodels/valvetree.tga
  513.     {
  514.         map textures/models/submodels/valvetree.tga
  515.         rgbGen static
  516.     }
  517. }
  518.  
  519. static_e-light
  520. {
  521.     qer_editorimage textures/models/submodels/e-light.tga
  522.     {
  523.         map textures/models/submodels/e-light.tga
  524.         rgbGen static
  525.     }
  526. }
  527.  
  528. static_bigswitch1
  529. {
  530.     qer_editorimage textures/models/submodels/bigswitch1.tga
  531.     {
  532.         map textures/models/submodels/bigswitch1.tga
  533.         rgbGen static
  534.     }
  535. }
  536.  
  537. static_bigswitch2
  538. {
  539.     qer_editorimage textures/models/submodels/bigswitch2.tga
  540.     {
  541.         map textures/models/submodels/bigswitch2.tga
  542.         rgbGen static
  543.     }
  544. }
  545.  
  546. static_6lamp
  547. {
  548.     qer_editorimage textures/models/submodels/6lamp.tga
  549.     {
  550.         map textures/models/submodels/6lamp.tga
  551.         rgbGen static
  552.     }
  553. }
  554.  
  555. static_telegraphbody1
  556. {
  557.     qer_editorimage textures/models/submodels/telegraphbody1.tga
  558.     {
  559.         map textures/models/submodels/telegraphbody1.tga
  560.         rgbGen static
  561.     }
  562. }
  563.  
  564. static_telegraphbody2
  565. {
  566.     qer_editorimage textures/models/submodels/telegraphbody2.tga
  567.     {
  568.         map textures/models/submodels/telegraphbody2.tga
  569.         rgbGen static
  570.     }
  571. }
  572.  
  573. static_telegraphface1
  574. {
  575.     qer_editorimage textures/models/submodels/telegraphface1.tga
  576.     {
  577.         map textures/models/submodels/telegraphface1.tga
  578.         rgbGen static
  579.     }
  580. }
  581.  
  582. static_telegraphface2
  583. {
  584.     qer_editorimage textures/models/submodels/telegraphface2.tga
  585.     {
  586.         map textures/models/submodels/telegraphface2.tga
  587.         rgbGen static
  588.     }
  589. }
  590.  
  591. static_electricbox1
  592. {
  593.     qer_editorimage textures/models/submodels/electricbox1.tga
  594.     {
  595.         map textures/models/submodels/electricbox1.tga
  596.         rgbGen static
  597.     }
  598. }
  599.  
  600. //////////////////////////////////
  601. //gyrocompass gauge face
  602. //////////////////////////////////
  603.  
  604. static_gyrocompass
  605. {
  606.     qer_editorimage textures/models/submodels/gyrocompass.tga
  607.     {
  608.         map textures/models/submodels/gyrocompass.tga
  609.         rgbGen static
  610.     }
  611. }
  612. ///////////////////////////////////
  613. //ruddergauge
  614. ///////////////////////////////////
  615.  
  616. static_ruddergaugebody
  617. {
  618.     qer_editorimage textures/models/submodels/ruddergaugebody.tga
  619.     {
  620.         map textures/models/submodels/ruddergaugebody.tga
  621.         rgbGen static
  622.     }
  623. }
  624.  
  625. static_ruddergauge1
  626. {
  627.     qer_editorimage textures/models/submodels/ruddergauge1.tga
  628.     {
  629.         map textures/models/submodels/ruddergauge1.tga
  630.         rgbGen static
  631.     }
  632. }
  633.  
  634. static_ruddergauge2
  635. {
  636.     qer_editorimage textures/models/submodels/ruddergauge2.tga
  637.     {
  638.         map textures/models/submodels/ruddergauge2.tga
  639.         rgbGen static
  640.     }
  641. }
  642. ///////////////////////////////
  643. // engine manifold temperature gauge
  644. ///////////////////////////////
  645.  
  646. static_tempgauge
  647. {
  648.     qer_editorimage textures/models/submodels/tempgauge.tga
  649.     {
  650.         map textures/models/submodels/tempgauge.tga
  651.         rgbGen static
  652.     }
  653. }
  654.  
  655. static_castiron
  656. {
  657.     qer_editorimage textures/models/submodels/castiron.tga
  658.     {
  659.         map textures/models/submodels/castiron.tga
  660.         rgbGen static
  661.     }
  662. }
  663. ///////////////////////////////////////////
  664. //airtank textures
  665. ///////////////////////////////////////////
  666.  
  667. static_yellowtank
  668. {
  669.     qer_editorimage textures/models/submodels/yellowtank.tga
  670.     {
  671.         map textures/models/submodels/yellowtank.tga
  672.         rgbGen static
  673.     }
  674. }
  675.  
  676. static_tanktop
  677. {
  678.     qer_editorimage textures/models/submodels/tanktop.tga
  679.     {
  680.         map textures/models/submodels/tanktop.tga
  681.         rgbGen static
  682.     }
  683. }
  684.  
  685. ////////////////////////////////////
  686. //non static sub model textures
  687. ////////////////////////////////////
  688.  
  689. deckcannon
  690. {
  691.     qer_editorimage textures/models/submodels/deckcannon.tga
  692.     {
  693.         map textures/models/submodels/deckcannon.tga
  694.         rgbGen lightingSpherical
  695.     }
  696. }
  697.  
  698. deckflak
  699. {
  700.     qer_editorimage textures/models/submodels/deckflak.tga
  701.     {
  702.         map textures/models/submodels/deckflak.tga
  703.         rgbGen lightingSpherical
  704.     }
  705. }
  706.  
  707. deckguntwins
  708. {
  709.     qer_editorimage textures/models/submodels/deckguntwins.tga
  710.     {
  711.         map textures/models/submodels/deckguntwins.tga
  712.         rgbGen lightingSpherical
  713.     }
  714. }
  715.  
  716. periscopes
  717. {
  718.     qer_editorimage textures/models/submodels/periscopes.tga
  719.     {
  720.         map textures/models/submodels/periscopes.tga
  721.         rgbGen lightingSpherical
  722.     }
  723. }
  724.  
  725. subrailing
  726. {
  727.     cull none
  728.     qer_editorimage textures/models/submodels/subrailing.tga
  729.     {
  730.         map textures/models/submodels/subrailing.tga
  731.         alphafunc GE128
  732.         rgbGen lightingSpherical
  733.     }
  734. }
  735.  
  736. wooddeck
  737. {
  738.     qer_editorimage textures/models/submodels/wooddeck.tga
  739.     {
  740.         map textures/models/submodels/wooddeck.tga
  741.         rgbGen lightingSpherical
  742.     }
  743. }
  744.  
  745. hulltop1a
  746. {
  747.     qer_editorimage textures/models/submodels/hulltop1a.tga
  748.     cull none
  749.     {
  750.         map textures/models/submodels/hulltop1a.tga
  751.         rgbGen lightingSpherical
  752.     }
  753. }
  754.  
  755. hulltop1c
  756. {
  757.     qer_editorimage textures/models/submodels/hulltop1c.tga
  758.     cull none
  759.     {
  760.         map textures/models/submodels/hulltop1c.tga
  761.         rgbGen lightingSpherical
  762.     }
  763. }
  764.  
  765. hulltop1d
  766. {
  767.     qer_editorimage textures/models/submodels/hulltop1d.tga
  768.     cull none
  769.     {
  770.         map textures/models/submodels/hulltop1d.tga
  771.         rgbGen lightingSpherical
  772.     }
  773. }
  774.  
  775. hulltop1h
  776. {
  777.     qer_editorimage textures/models/submodels/hulltop1h.tga
  778.     cull none
  779.     {
  780.         map textures/models/submodels/hulltop1h.tga
  781.         rgbGen lightingSpherical
  782.     }
  783. }
  784.  
  785. hulltop1e
  786. {
  787.     qer_editorimage textures/models/submodels/hulltop1e.tga
  788.     cull none
  789.     {
  790.         map textures/models/submodels/hulltop1e.tga
  791.         rgbGen lightingSpherical
  792.     }
  793. }
  794.  
  795. hulltop1i
  796. {
  797.     qer_editorimage textures/models/submodels/hulltop1i.tga
  798.     cull none
  799.     {
  800.         map textures/models/submodels/hulltop1i.tga
  801.         rgbGen lightingSpherical
  802.     }
  803. }
  804.  
  805. hulltop1j
  806. {
  807.     qer_editorimage textures/models/submodels/hulltop1j.tga
  808.     cull none
  809.     {
  810.         map textures/models/submodels/hulltop1j.tga
  811.         rgbGen lightingSpherical
  812.     }
  813. }
  814.  
  815. blackhull1
  816. {
  817.     qer_editorimage textures/models/submodels/blackhull1.tga
  818.     cull none
  819.     {
  820.         map textures/models/submodels/blackhull1.tga
  821.         rgbGen lightingSpherical
  822.     }
  823. }
  824.  
  825. metaldeck_plating
  826. {
  827.     qer_editorimage textures/models/submodels/metaldeck_plating.tga
  828.     cull none
  829.     {
  830.         map textures/models/submodels/metaldeck_plating.tga
  831.         rgbGen lightingSpherical
  832.     }
  833. }
  834.  
  835. contowerlamp
  836. {
  837.     qer_editorimage textures/models/submodels/contowerlamp.tga
  838.     {
  839.         map textures/models/submodels/contowerlamp.tga
  840.         rgbGen lightingSpherical
  841.     }
  842. }
  843.  
  844. contowerwood
  845. {
  846.     qer_editorimage textures/models/submodels/contowerwood.tga
  847.     {
  848.         map textures/models/submodels/contowerwood.tga
  849.         rgbGen lightingSpherical
  850.     }
  851. }
  852.  
  853. miscpieces
  854. {
  855.     qer_editorimage textures/models/submodels/miscpieces.tga
  856.     {
  857.         map textures/models/submodels/miscpieces.tga
  858.         depthwrite
  859.         blendFunc blend
  860.         rgbGen lightingSpherical
  861.     }
  862. //miscellaneous pieces for the hatch explosion effect
  863.  
  864. miscpieces2
  865. {
  866.     qer_editorimage textures/models/submodels/miscpieces.tga
  867.     {
  868.         map textures/models/submodels/miscpieces.tga
  869.         rgbGen lightingSpherical
  870.     }
  871. }
  872.  
  873. ////////////////////////////////////
  874. //static sub model textures
  875. ////////////////////////////////////
  876.  
  877. static_deckcannon
  878. {
  879.     qer_editorimage textures/models/submodels/deckcannon.tga
  880.     {
  881.         map textures/models/submodels/deckcannon.tga
  882.         rgbGen static
  883.     }
  884. }
  885.  
  886. static_deckflak
  887. {
  888.     qer_editorimage textures/models/submodels/deckflak.tga
  889.     {
  890.         map textures/models/submodels/deckflak.tga
  891.         rgbGen static
  892.     }
  893. }
  894.  
  895. static_deckguntwins
  896. {
  897.     qer_editorimage textures/models/submodels/deckguntwins.tga
  898.     {
  899.         map textures/models/submodels/deckguntwins.tga
  900.         rgbGen static
  901.     }
  902. }
  903.  
  904. static_periscopes
  905. {
  906.     qer_editorimage textures/models/submodels/periscopes.tga
  907.     {
  908.         map textures/models/submodels/periscopes.tga
  909.         rgbGen static
  910.     }
  911. }
  912.  
  913. static_subrailing
  914. {
  915.     cull none
  916.     qer_editorimage textures/models/submodels/subrailing.tga
  917.     {
  918.         map textures/models/submodels/subrailing.tga
  919.         alphafunc GE128
  920.         rgbGen static
  921.     }
  922. }
  923.  
  924. static_wooddeck
  925. {
  926.     qer_editorimage textures/models/submodels/wooddeck.tga
  927.     {
  928.         map textures/models/submodels/wooddeck.tga
  929.         rgbGen static
  930.     }
  931. }
  932.  
  933. static_hulltop1a
  934. {
  935.     qer_editorimage textures/models/submodels/hulltop1a.tga
  936.     {
  937.         map textures/models/submodels/hulltop1a.tga
  938.         rgbGen static
  939.     }
  940. }
  941.  
  942. static_hulltop1c
  943. {
  944.     qer_editorimage textures/models/submodels/hulltop1c.tga
  945.     {
  946.         map textures/models/submodels/hulltop1c.tga
  947.         rgbGen static
  948.     }
  949. }
  950.  
  951. static_hulltop1d
  952. {
  953.     qer_editorimage textures/models/submodels/hulltop1d.tga
  954.     {
  955.         map textures/models/submodels/hulltop1d.tga
  956.         rgbGen static
  957.     }
  958. }
  959.  
  960. static_hulltop1h
  961. {
  962.     qer_editorimage textures/models/submodels/hulltop1h.tga
  963.     {
  964.         map textures/models/submodels/hulltop1h.tga
  965.         rgbGen static
  966.     }
  967. }
  968.  
  969. static_hulltop1e
  970. {
  971.     qer_editorimage textures/models/submodels/hulltop1e.tga
  972.     {
  973.         map textures/models/submodels/hulltop1e.tga
  974.         rgbGen static
  975.     }
  976. }
  977.  
  978. static_hulltop1i
  979. {
  980.     qer_editorimage textures/models/submodels/hulltop1i.tga
  981.     {
  982.         map textures/models/submodels/hulltop1i.tga
  983.         rgbGen static
  984.     }
  985. }
  986.  
  987. static_hulltop1j
  988. {
  989.     qer_editorimage textures/models/submodels/hulltop1j.tga
  990.     {
  991.         map textures/models/submodels/hulltop1j.tga
  992.         rgbGen static
  993.     }
  994. }
  995.  
  996. static_blackhull1
  997. {
  998.     qer_editorimage textures/models/submodels/blackhull1.tga
  999.     {
  1000.         map textures/models/submodels/blackhull1.tga
  1001.         rgbGen static
  1002.     }
  1003. }
  1004.  
  1005. static_metaldeck_plating
  1006. {
  1007.     qer_editorimage textures/models/submodels/metaldeck_plating.tga
  1008.     {
  1009.         map textures/models/submodels/metaldeck_plating.tga
  1010.         rgbGen static
  1011.     }
  1012. }
  1013.  
  1014. static_contowerlamp
  1015. {
  1016.     qer_editorimage textures/models/submodels/contowerlamp.tga
  1017.     {
  1018.         map textures/models/submodels/contowerlamp.tga
  1019.         rgbGen static
  1020.     }
  1021. }
  1022.  
  1023. static_contowerwood
  1024. {
  1025.     qer_editorimage textures/models/submodels/contowerwood.tga
  1026.     {
  1027.         map textures/models/submodels/contowerwood.tga
  1028.         rgbGen static
  1029.     }
  1030. }
  1031.  
  1032. static_miscpieces
  1033. {
  1034.     qer_editorimage textures/models/submodels/miscpieces.tga
  1035.     {
  1036.         map textures/models/submodels/miscpieces.tga
  1037.         //depthwrite
  1038.         //blendFunc blend
  1039.         rgbGen static
  1040.     }
  1041. }
  1042.  
  1043. static_subhatch
  1044. {
  1045.     qer_editorimage textures/models/submodels/subhatch.tga
  1046.     {
  1047.         map textures/models/submodels/subhatch.tga
  1048.         depthwrite
  1049.         blendFunc blend
  1050.         rgbGen static
  1051.     }
  1052. }
  1053.  
  1054. static_flakshield
  1055. {
  1056.     cull none
  1057.     qer_editorimage textures/models/submodels/deckflak.tga
  1058.     {
  1059.         map textures/models/submodels/deckflak.tga
  1060.         rgbGen static
  1061.     }
  1062. }
  1063.  
  1064. static_subradar
  1065. {
  1066.     nopicmip
  1067.     nomipmaps
  1068.     cull none
  1069.     qer_editorimage textures/models/submodels/miscpieces.tga
  1070.     {
  1071.         map textures/models/submodels/miscpieces.tga
  1072.         depthwrite
  1073.         blendFunc blend
  1074.         rgbGen static
  1075.     }
  1076. }
  1077.  
  1078. /////////////////////////////////////
  1079. //subcrane skin
  1080. /////////////////////////////////////
  1081.  
  1082. subcrane
  1083. {
  1084.     qer_editorimage textures/models/submodels/subcrane.tga
  1085.     {
  1086.         map textures/models/submodels/subcrane.tga
  1087.         rgbGen lightingSpherical
  1088.     }
  1089. }
  1090.  
  1091. /////////////////////////////////////
  1092. //sub emblems
  1093. /////////////////////////////////////
  1094.  
  1095. eagle
  1096. {
  1097.     qer_editorimage textures/models/submodels/eagle.tga
  1098.     {
  1099.         map textures/models/submodels/eagle.tga
  1100.         blendfunc blend
  1101.         rgbGen lightingSpherical
  1102.     }
  1103. }
  1104.  
  1105. static_eagle
  1106. {
  1107.     qer_editorimage textures/models/submodels/eagle.tga
  1108.     {
  1109.         map textures/models/submodels/eagle.tga
  1110.         blendfunc blend
  1111.         rgbGen static
  1112.     }
  1113. }
  1114.  
  1115. flotilla11
  1116. {
  1117.     qer_editorimage textures/models/submodels/flotilla11.tga
  1118.     {
  1119.         map textures/models/submodels/flotilla11.tga
  1120.         blendfunc blend
  1121.         rgbGen lightingSpherical
  1122.     }
  1123. }
  1124.  
  1125. static_flotilla11
  1126. {
  1127.     qer_editorimage textures/models/submodels/flotilla11.tga
  1128.     {
  1129.         map textures/models/submodels/flotilla11.tga
  1130.         blendfunc blend
  1131.         rgbGen static
  1132.     }
  1133. }
  1134.  
  1135. flotilla13
  1136. {
  1137.     qer_editorimage textures/models/submodels/flotilla13.tga
  1138.     {
  1139.         map textures/models/submodels/flotilla13.tga
  1140.         blendfunc blend
  1141.         rgbGen lightingSpherical
  1142.     }
  1143. }
  1144.  
  1145. static_flotilla13
  1146. {
  1147.     qer_editorimage textures/models/submodels/flotilla13.tga
  1148.     {
  1149.         map textures/models/submodels/flotilla13.tga
  1150.         blendfunc blend
  1151.         rgbGen static
  1152.     }
  1153. }
  1154.  
  1155. flotilla7
  1156. {
  1157.     qer_editorimage textures/models/submodels/flotilla7.tga
  1158.     {
  1159.         map textures/models/submodels/flotilla7.tga
  1160.         blendfunc blend
  1161.         rgbGen lightingSpherical
  1162.     }
  1163. }
  1164.  
  1165. static_flotilla7
  1166. {
  1167.     qer_editorimage textures/models/submodels/flotilla7.tga
  1168.     {
  1169.         map textures/models/submodels/flotilla7.tga
  1170.         blendfunc blend
  1171.         rgbGen static
  1172.     }
  1173. }
  1174.  
  1175. reddevil
  1176. {
  1177.     qer_editorimage textures/models/submodels/reddevil.tga
  1178.     {
  1179.         map textures/models/submodels/reddevil.tga
  1180.         blendfunc blend
  1181.         rgbGen lightingSpherical
  1182.     }
  1183. }
  1184.  
  1185. static_reddevil
  1186. {
  1187.     qer_editorimage textures/models/submodels/reddevil.tga
  1188.     {
  1189.         map textures/models/submodels/reddevil.tga
  1190.         blendfunc blend
  1191.         rgbGen static
  1192.     }
  1193. }
  1194.  
  1195. swordfish
  1196. {
  1197.     qer_editorimage textures/models/submodels/swordfish.tga
  1198.     {
  1199.         map textures/models/submodels/swordfish.tga
  1200.         blendfunc blend
  1201.         rgbGen lightingSpherical
  1202.     }
  1203. }
  1204.  
  1205. static_swordfish
  1206. {
  1207.     qer_editorimage textures/models/submodels/swordfish.tga
  1208.     {
  1209.         map textures/models/submodels/swordfish.tga
  1210.         blendfunc blend
  1211.         rgbGen static
  1212.     }
  1213. }
  1214.  
  1215. static_gaswelder
  1216. {
  1217.     qer_editorimage textures/models/norway/gaswelder.tga
  1218.     {
  1219.         map textures/models/norway/gaswelder.tga
  1220.         rgbGen vertex
  1221.     }
  1222. }
  1223.  
  1224. gaswelder
  1225. {
  1226.     qer_editorimage textures/models/norway/gaswelder.tga
  1227.     {
  1228.         map textures/models/norway/gaswelder.tga
  1229.         rgbGen vertex
  1230.     }
  1231. }
  1232.  
  1233. ///////////////////////////////////////////
  1234. // welder shaders for guys welding on sub
  1235. ///////////////////////////////////////////
  1236.  
  1237. tanktop
  1238. {
  1239.     qer_editorimage textures/models/submodels/tanktop.tga
  1240.     {
  1241.         map textures/models/submodels/tanktop.tga
  1242.         rgbGen lightingSpherical
  1243.     }
  1244. }
  1245.  
  1246. static_tanktop
  1247. {
  1248.     qer_editorimage textures/models/submodels/tanktop.tga
  1249.     {
  1250.         map textures/models/submodels/tanktop.tga
  1251.         rgbGen static
  1252.     }
  1253. }
  1254.  
  1255. tanks
  1256. {
  1257.     qer_editorimage textures/models/submodels/tanks.tga
  1258.     {
  1259.         map textures/models/submodels/tanks.tga
  1260.         rgbGen lightingSpherical
  1261.     }
  1262. }
  1263.  
  1264. static_tanks
  1265. {
  1266.     qer_editorimage textures/models/submodels/tanks.tga
  1267.     {
  1268.         map textures/models/submodels/tanks.tga
  1269.         rgbGen static
  1270.     }
  1271. }
  1272.  
  1273. wheel
  1274. {
  1275.     qer_editorimage textures/models/submodels/wheel.tga
  1276.     cull none
  1277.     {
  1278.         map textures/models/submodels/wheel.tga
  1279.         rgbGen lightingSpherical
  1280.     }
  1281. }
  1282.  
  1283. static_wheel
  1284. {
  1285.     qer_editorimage textures/models/submodels/wheel.tga
  1286.     cull none
  1287.     {
  1288.         map textures/models/submodels/wheel.tga
  1289.         rgbGen static
  1290.     }
  1291. }
  1292.  
  1293. welder
  1294. {
  1295.     qer_editorimage textures/models/submodels/welder.tga
  1296.     {
  1297.         map textures/models/submodels/welder.tga
  1298.         rgbGen lightingSpherical
  1299.     }
  1300. }
  1301.  
  1302. static_welder
  1303. {
  1304.     qer_editorimage textures/models/submodels/welder.tga
  1305.     {
  1306.         map textures/models/submodels/welder.tga
  1307.         rgbGen static
  1308.     }
  1309. }
  1310.  
  1311. redhose
  1312. {
  1313.     qer_editorimage textures/models/submodels/redhose.tga
  1314.     {
  1315.         map textures/models/submodels/redhose.tga
  1316.         rgbGen lightingSpherical
  1317.     }
  1318. }
  1319.  
  1320. static_redhose
  1321. {
  1322.     qer_editorimage textures/models/submodels/redhose.tga
  1323.     {
  1324.         map textures/models/submodels/redhose.tga
  1325.         rgbGen static
  1326.     }
  1327. }
  1328.  
  1329. greenhose
  1330. {
  1331.     qer_editorimage textures/models/submodels/greenhose.tga
  1332.     {
  1333.         map textures/models/submodels/greenhose.tga
  1334.         rgbGen lightingSpherical
  1335.     }
  1336. }
  1337.  
  1338. static_greenhose
  1339. {
  1340.     qer_editorimage textures/models/submodels/greenhose.tga
  1341.     {
  1342.         map textures/models/submodels/greenhose.tga
  1343.         rgbGen static
  1344.     }
  1345. }
  1346.  
  1347. /////////////////////////////////////
  1348. //welding mask and torch
  1349. /////////////////////////////////////
  1350.  
  1351. weldermask
  1352. {
  1353.     qer_editorimage textures/models/submodels/weldingmask.tga
  1354.         cull none
  1355.     {
  1356.         map textures/models/submodels/weldingmask.tga
  1357.         rgbGen lightingSpherical
  1358.     }
  1359. }
  1360.  
  1361. weldertorch
  1362. {
  1363.     qer_editorimage textures/models/submodels/weldertorch.tga
  1364.         cull none
  1365.     {
  1366.         map textures/models/submodels/weldertorch.tga
  1367.         rgbGen lightingSpherical
  1368.     }
  1369. }
  1370.  
  1371. static_weldertorch
  1372. {
  1373.     qer_editorimage textures/models/submodels/weldertorch.tga
  1374.         cull none
  1375.     {
  1376.         map textures/models/submodels/weldertorch.tga
  1377.         rgbGen static
  1378.     }
  1379. }
  1380. /////////////////////////////////////////////
  1381. //naxos radar skins
  1382. /////////////////////////////////////////////
  1383.  
  1384. naxosradar
  1385. {
  1386.     qer_editorimage textures/models/submodels/naxos_radar.tga
  1387.     cull none
  1388.     {
  1389.         map textures/models/submodels/naxos_radar.tga
  1390.         rgbGen lightingSpherical
  1391.     }
  1392. }
  1393.  
  1394. naxosradar_pulsating
  1395. {
  1396.     qer_editorimage textures/models/submodels/naxos_radar.tga
  1397.     cull none
  1398.     {
  1399.         map textures/models/submodels/naxos_radar.tga
  1400.         rgbGen lightingSpherical
  1401.     }
  1402.     { // pulsating layer
  1403.         map textures/models/items/pulse.tga
  1404.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  1405.         rgbGen wave sin 0.25 0.25 0 0.75
  1406.         //rgbGen wave sin 0.15 0.075 0 0.75
  1407.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  1408.     }
  1409. }
  1410.  
  1411. naxosantenna
  1412. {
  1413.     qer_editorimage textures/models/submodels/naxos_antenna.tga
  1414.         cull none
  1415.         nopicmip
  1416.         nomipmaps
  1417.     {
  1418.         map textures/models/submodels/naxos_antenna.tga
  1419.         alphafunc GE128
  1420.         rgbGen lightingSpherical
  1421.     }
  1422. }
  1423.  
  1424. naxosantenna_pulsating
  1425. {
  1426.     qer_editorimage textures/models/submodels/naxos_antenna.tga
  1427.         cull none
  1428.         nopicmip
  1429.         nomipmaps
  1430.     {
  1431.         map textures/models/submodels/naxos_antenna.tga
  1432.         alphafunc GE128
  1433.         rgbGen lightingSpherical
  1434.     }
  1435.     { // pulsating layer
  1436.         map textures/models/items/pulse.tga
  1437.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  1438.         rgbGen wave sin 0.25 0.25 0 0.75
  1439.         //rgbGen wave sin 0.15 0.075 0 0.75
  1440.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  1441.     }
  1442. }
  1443.  
  1444. naxosinside
  1445. {
  1446.     qer_editorimage textures/models/submodels/naxosinside.tga
  1447.         //cull none
  1448.         //nopicmip
  1449.         //nomipmaps
  1450.     {
  1451.         map textures/models/submodels/naxosinside.tga
  1452.         rgbGen lightingSpherical
  1453.     }
  1454. }
  1455.  
  1456. static_bulkheadhatch
  1457. {
  1458.     qer_editorimage textures/models/submodels/bulkheadhatch.tga
  1459.         //cull none
  1460.         //nopicmip
  1461.         //nomipmaps
  1462.     {
  1463.         map textures/models/submodels/bulkheadhatch.tga
  1464.         rgbGen static
  1465.     }
  1466. }
  1467.  
  1468. static_powerpanel
  1469. {
  1470.     qer_editorimage textures/models/submodels/powerpanel.tga
  1471.         //cull none
  1472.         //nopicmip
  1473.         //nomipmaps
  1474.     {
  1475.         map textures/models/submodels/powerpanel.tga
  1476.         blendfunc blend
  1477.         depthwrite
  1478.         rgbGen static
  1479.     }
  1480. }
  1481.  
  1482. static_radio2
  1483. {
  1484.     qer_editorimage textures/models/submodels/radio2.tga
  1485.         //cull none
  1486.         //nopicmip
  1487.         //nomipmaps
  1488.     {
  1489.         map textures/models/submodels/radio2.tga
  1490.         blendfunc blend
  1491.         depthwrite
  1492.         rgbGen static
  1493.     }
  1494. }
  1495.  
  1496. static_radiostation1
  1497. {
  1498.     qer_editorimage textures/models/submodels/radiostation1.tga
  1499.         //cull none
  1500.         //nopicmip
  1501.         //nomipmaps
  1502.     {
  1503.         map textures/models/submodels/radiostation1.tga
  1504.         blendfunc blend
  1505.         depthwrite
  1506.         rgbGen static
  1507.     }
  1508. }
  1509.  
  1510. static_radiostation2
  1511. {
  1512.     qer_editorimage textures/models/submodels/radiostation2.tga
  1513.         //cull none
  1514.         //nopicmip
  1515.         //nomipmaps
  1516.     {
  1517.         map textures/models/submodels/radiostation2.tga
  1518.         blendfunc blend
  1519.         depthwrite
  1520.         rgbGen static
  1521.     }
  1522. }
  1523.  
  1524. static_radiostation4
  1525. {
  1526.     qer_editorimage textures/models/submodels/radiostation4.tga
  1527.         //cull none
  1528.         //nopicmip
  1529.         //nomipmaps
  1530.     {
  1531.         map textures/models/submodels/radiostation4.tga
  1532.         blendfunc blend
  1533.         depthwrite
  1534.         rgbGen static
  1535.     }
  1536. }
  1537.  
  1538. static_calendarskin
  1539. {
  1540.     qer_editorimage textures/models/submodels/calendarskin.tga
  1541.         //cull none
  1542.         //nopicmip
  1543.         //nomipmaps
  1544.     {
  1545.         map textures/models/submodels/calendarskin.tga
  1546.         rgbGen static
  1547.     }
  1548. }
  1549.  
  1550.  
  1551.  
  1552.